package com.zhitan.netty.constant;

public class NettyConstant {
    /**
     * 最大的包序号
     */
    public static final Integer MAX_PACKAGE_INDEX = 0xFFFF;
    /**
     * 设备编号长度
     */
    public static final Integer DEVICE_NO_LENGTH = 7;
    /**
     * 交易流水号长度
     */
    public static final Integer TRANSACTION_NO_LENGTH = 16;
    public static final Integer DATETIME_LENGTH = 7;
    /**
     * 设备操作-开启
     */
    public static final byte DEVICE_HANDLE_OPEN = 1;
    /**
     * 设备操作-关闭
     */
    public static final byte DEVICE_HANDLE_CLOSE = 0;
    public static final byte SEND_PILE_QU_CODE_RESULT = (byte) 0xF0;
}
